home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / plain C OS8 / AMReminder / DDocData.h < prev    next >
Encoding:
Text File  |  1998-10-29  |  708 bĀ   |  34 lines  |  [TEXT/CWIE]

  1. // DDocData -- data class for AMReminder
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7. #define idReminderChoice        'Reme'
  8. #define idReminders        'Rems'
  9. #include "DReminder.h"
  10.  
  11. //----------
  12. struct DDocData {
  13.     AMSignaler        super;
  14.  
  15.     SInt16        mReminderChoice;
  16.     DReminder*        mReminders;
  17. };
  18. typedef struct DDocData DDocData;
  19.  
  20. //----------
  21. DDocData*        NewDDocData ();
  22. void    DeleteDDocData        (DDocData*        data);
  23.  
  24. //----------
  25. void        DDocData_Init    (DDocData*        self);
  26. void        DDocData_Free    (DDocData*        self);
  27.  
  28. SInt16        GetReminderChoice        (DDocData*        self);
  29. void        SetReminderChoice        (DDocData*        self,
  30.                              SInt16        inValue);
  31. DReminder*        GetReminders        (DDocData*        self);
  32. void        SetReminders        (DDocData*        self,
  33.                              DReminder*        inValue);
  34.